﻿@model SchoolProject2012.Areas.Professeur.Models.QUESTIONEVAL

@{
    ViewBag.Title = "Create";
    Layout = "~/Areas/Shared/Views/Shared/_Layout.cshtml";
}

<h2>Create</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>QUESTIONEVAL</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.IDEVAL, "EVALUATION")
        </div>
        <div class="editor-field">
            @Html.DropDownList("IDEVAL", String.Empty)
            @Html.ValidationMessageFor(model => model.IDEVAL)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LIBQUESTEVAL)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LIBQUESTEVAL)
            @Html.ValidationMessageFor(model => model.LIBQUESTEVAL)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NB_POINT_EVAL)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NB_POINT_EVAL)
            @Html.ValidationMessageFor(model => model.NB_POINT_EVAL)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List Evaluation", "Index", new { controller="Evaluation"})
</div>
